package com.xiaoke.service.impl;

import com.xiaoke.entity.Channel;
import com.xiaoke.mapper.ChannelMapper;
import com.xiaoke.service.ChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ChannelServiceImpl implements ChannelService {
    @Autowired
    private ChannelMapper channelMapper;

    public List<Channel> findByShop(String shopId){
        return channelMapper.findByShop(shopId);
    }

}
